package com.jwthhealth_pub.old.api;


import com.jwthhealth_pub.app.module.ThraPreviewModule;
import com.jwthhealth_pub.common.base.BaseResp;
import com.jwthhealth_pub.home.model.TopCase;
import com.jwthhealth_pub.old.acupressure.module.AcupressureAcupointModule;
import com.jwthhealth_pub.old.acupressure.module.AcupressureJlpicInfoModule;
import com.jwthhealth_pub.old.acupressure.module.AcupressureJlpicModule;
import com.jwthhealth_pub.old.acupressure.module.AcupressureJztzjlModule;
import com.jwthhealth_pub.old.acupressure.module.AcupressureJztzjldetailModule;
import com.jwthhealth_pub.old.api.model.CommonRespone;
import com.jwthhealth_pub.old.constitution.model.ConstitutionCompleteModel;
import com.jwthhealth_pub.old.constitution.model.ConstitutionModel;
import com.jwthhealth_pub.old.diet.moudel.DietSecModule;
import com.jwthhealth_pub.old.diet.moudel.DietThiModule;
import com.jwthhealth_pub.old.healthyscreening.model.HealthyScreenModel;
import com.jwthhealth_pub.old.heartscreen.module.HeartScreenModule;
import com.jwthhealth_pub.old.individual.module.ChangePhoneFirModule;
import com.jwthhealth_pub.old.individual.module.ChangePhoneSecModule;
import com.jwthhealth_pub.old.individual.module.GetHealthModule;
import com.jwthhealth_pub.old.individual.module.GetPhysical;
import com.jwthhealth_pub.old.individual.module.HeartData;
import com.jwthhealth_pub.old.individual.module.HeartDetailData;
import com.jwthhealth_pub.old.individual.module.HraDate;
import com.jwthhealth_pub.old.individual.module.JztzModule;
import com.jwthhealth_pub.old.individual.module.SportMyPlanModule;
import com.jwthhealth_pub.old.individual.module.UcenterModule;
import com.jwthhealth_pub.old.physicalfitness.model.PhysicalAnswerModel;
import com.jwthhealth_pub.old.report.model.resbody.EnviDescResp;
import com.jwthhealth_pub.old.report.model.resbody.HraDataRes;
import com.jwthhealth_pub.old.report.model.resbody.HraDateRes;
import com.jwthhealth_pub.old.report.model.resbody.PhisStatDescResp;
import com.jwthhealth_pub.old.report.model.resbody.PhysDescRes;
import com.jwthhealth_pub.old.report.model.resbody.SportSuggListResp;
import com.jwthhealth_pub.old.report.model.resbody.SportSuggVideoResp;
import com.jwthhealth_pub.old.report.model.resbody.SuggFoodRes;
import com.jwthhealth_pub.old.sign.model.CodeModel;
import com.jwthhealth_pub.old.sign.model.FindPwModle;
import com.jwthhealth_pub.old.sign.model.LoginModel;
import com.jwthhealth_pub.old.sign.model.SetNewPwModle;
import com.jwthhealth_pub.old.sign.model.SignUpModel;
import com.jwthhealth_pub.old.signutil.model.HomeAdModule;
import com.jwthhealth_pub.old.signutil.model.SendSms;
import com.jwthhealth_pub.old.sportfitness.module.SportHomeModule;
import com.jwthhealth_pub.old.sportfitness.module.SprotCourseDescribeModule;
import com.jwthhealth_pub.old.sportfitness.module.SprotCourseInfoModule;
import com.jwthhealth_pub.old.sportfitness.module.SprotCourseModule;
import com.jwthhealth_pub.old.sportfitness.module.SprotOverModule;
import com.jwthhealth_pub.old.subscribe.model.HomeMsgSubscribeInfoModel;
import com.jwthhealth_pub.old.subscribe.model.SubscrbeAddList;
import com.jwthhealth_pub.old.subscribe.model.SubscribeCommitResponse;
import com.jwthhealth_pub.old.subscribe.model.SubscribeIndex;
import com.jwthhealth_pub.old.subscribe.model.SubscribeList;
import com.jwthhealth_pub.old.subscribe.model.SubscribeTimeList;
import com.jwthhealth_pub.wristband.bloodpressure.bean.BloodDayBean;
import com.jwthhealth_pub.wristband.bloodpressure.bean.BloodMonthBean;
import com.jwthhealth_pub.wristband.bloodpressure.bean.BloodWeekBean;
import com.jwthhealth_pub.wristband.bloodpressure.bean.BloodYearBean;
import com.jwthhealth_pub.wristband.main.model.WristBandSettingModule;
import com.jwthhealth_pub.wristband.rate.bean.RateDayBean;
import com.jwthhealth_pub.wristband.rate.bean.RateMonthBean;
import com.jwthhealth_pub.wristband.rate.bean.RateWeekBean;
import com.jwthhealth_pub.wristband.rate.bean.RateYearBean;
import com.jwthhealth_pub.wristband.steps.bean.StepsDayBean;
import com.jwthhealth_pub.wristband.steps.bean.StepsMonthBean;
import com.jwthhealth_pub.wristband.steps.bean.StepsWeekBean;
import com.jwthhealth_pub.wristband.steps.bean.StepsYearBean;

import retrofit2.Call;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

/**
 * Created by liuzhen000 on 2016/11/30.
 */

public interface IApi {

    @POST("site/login")
    @FormUrlEncoded
    Call<LoginModel> signIn(@Field("username") String username, @Field("password") String password, @Field("mac") String mac, @Field("dev") String dev, @Field("sign") String cKey);
//
//    @POST("login/qq")
//    @FormUrlEncoded
//    Call<LoginModel> singInQQ(@Field("dev") String dev, @Field("mac") String mac, @Field("nicname") String nicname, @Field("pic") String pic, @Field("openid") String openid, @Field("sign") String sign);
//
//    @POST("login/wx")
//    @FormUrlEncoded
//    Call<LoginModel> singInWX(@Field("dev") String deviceId, @Field("mac") String macAddress, @Field("nicname") String nickName, @Field("pic") String pic, @Field("openid") String openId, @Field("sign") String cKey);
//
//    @POST("login/wb")
//    @FormUrlEncoded
//    Call<LoginModel> singInWB(@Field("dev") String deviceId, @Field("mac") String macAddress, @Field("nicname") String nickName, @Field("pic") String pic, @Field("openid") String openId, @Field("sign") String cKey);
//
////    @POST("login/zfb")
////    @FormUrlEncoded
////    Call<LoginModel> singInZFB(@Field("dev") String deviceId, @Field("mac") String macAddress, @Field("nicname") String nickName,@Field("pic")  String pic, @Field("openid") String openId, @Field("sign") String cKey);
//
//    @POST("bind/qq")
//    @FormUrlEncoded
//    Call<LoginModel> bindQQ(@Field("dev") String deviceId, @Field("mac") String macAddress, @Field("nicname") String nickName, @Field("pic") String pic, @Field("phone") String phone, @Field("code") String code, @Field("openid") String openId, @Field("sign") String cKey);
//
//    @POST("bind/wx")
//    @FormUrlEncoded
//    Call<LoginModel> bindWX(@Field("dev") String deviceId, @Field("mac") String macAddress, @Field("nicname") String nickName, @Field("pic") String pic, @Field("phone") String phone, @Field("code") String code, @Field("openid") String openId, @Field("sign") String cKey);
//
//    @POST("bind/wb")
//    @FormUrlEncoded
//    Call<LoginModel> bindWB(@Field("dev") String deviceId, @Field("mac") String macAddress, @Field("nicname") String nickName, @Field("pic") String pic, @Field("phone") String phone, @Field("code") String code, @Field("openid") String openId, @Field("sign") String cKey);
//
//    @POST("bind/zfb")
//    @FormUrlEncoded
//    Call<LoginModel> bindZFB(@Field("dev") String deviceId, @Field("mac") String macAddress, @Field("nicname") String nickName, @Field("pic") String pic, @Field("phone") String phone, @Field("code") String code, @Field("openid") String openId, @Field("sign") String cKey);

    @POST("site/check-sms")
    @FormUrlEncoded
    Call<CodeModel> signUp(@Field("phone") String phone, @Field("dev") String dev, @Field("code") String code, @Field("sign") String cKey);

    @POST("site/signup")
    @FormUrlEncoded
    Call<SignUpModel> signUp(@Field("phone") String phone, @Field("dev") String dev, @Field("password") String password, @Field("mac") String mac, @Field("signtoken") String signtoken, @Field("sign") String cKey);

    @POST("site/found-password")
    @FormUrlEncoded
    Call<FindPwModle> findPw(@Field("phone") String phone, @Field("dev") String dev, @Field("code") String code, @Field("sign") String cKey);

    @POST("site/reset-password")
    @FormUrlEncoded
    Call<SetNewPwModle> setNewPw(@Field("phone") String phone, @Field("dev") String dev, @Field("token") String token, @Field("password") String password, @Field("sign") String sign);

    //
//    @POST("site/re-password")
//    @FormUrlEncoded
//    Call<ResetPwModle> reSetPw(@Field("phone") String phone, @Field("dev") String dev, @Field("oldpassword") String oldpassword, @Field("password") String newPw, @Field("sign") String cKey);
//
    @POST("investigation/question")
    @FormUrlEncoded
    Call<ConstitutionModel> constitutionQuestion(@Field("uid") String uid, @Field("dev") String dev, @Field("sex") String sex, @Field("mac") String mac, @Field("type") String type, @Field("answer") String ans, @Field("sign") String cKey);

    @POST("investigation/question")
    @FormUrlEncoded
    Call<ConstitutionModel> constitutionQuestion(@Field("dev") String dev, @Field("sex") String sex, @Field("mac") String mac, @Field("type") String type, @Field("answer") String ans, @Field("sign") String cKey);

    @POST("investigation/can-get-ph")
    @FormUrlEncoded
    Call<ConstitutionCompleteModel> constitutionComplete(@Field("dev") String dev, @Field("mac") String mac, @Field("sign") String cKey);

    @POST("investigation/can-get-ph")
    @FormUrlEncoded
    Call<ConstitutionCompleteModel> constitutionComplete(@Field("uid") String uid, @Field("dev") String dev, @Field("mac") String mac, @Field("sign") String cKey);

    @POST("investigation/physical")
    @FormUrlEncoded
    Call<PhysicalAnswerModel> physicalCommit(@Field("dev") String dev, @Field("mac") String mac, @Field("answer") String ans, @Field("sign") String cKey);

    @POST("investigation/physical")
    @FormUrlEncoded
    Call<PhysicalAnswerModel> physicalCommit(@Field("uid") String uid, @Field("dev") String dev, @Field("mac") String mac, @Field("answer") String ans, @Field("sign") String cKey);

    @POST("investigation/health")
    @FormUrlEncoded
    Call<HealthyScreenModel> healthyScreenCommit(@Field("dev") String dev, @Field("mac") String mac, @Field("answer") String ans, @Field("sign") String cKey);

    //
    @POST("investigation/health")
    @FormUrlEncoded
    Call<HealthyScreenModel> healthyScreenCommit(@Field("uid") String uid, @Field("dev") String dev, @Field("mac") String mac, @Field("answer") String ans, @Field("sign") String cKey);

    @POST("health")
    @FormUrlEncoded
    Call<DietSecModule> dietRequestSecModule(@Field("dev") String dev, @Field("topid") String topid, @Field("id") String id, @Field("sign") String sign);

    @POST("health-page")
    @FormUrlEncoded
    Call<DietThiModule> dietRequestThiModule(@Field("dev") String dev, @Field("topid") String topid, @Field("id") String id, @Field("sonid") String sonid, @Field("page") String page, @Field("sign") String sign);

    @POST("sport/top")
    @FormUrlEncoded
    Call<SportHomeModule> sportTopRequest(@Field("dev") String dev, @Field("mac") String mac, @Field("sign") String sign);

    @POST("sport/course")
    @FormUrlEncoded
    Call<SprotCourseModule> sportCourseRequest(@Field("dev") String dev, @Field("pid") String pid, @Field("mac") String mac, @Field("sign") String sign);

    @POST("sport/list")
    @FormUrlEncoded
    Call<SprotCourseInfoModule> sportCourseInfoRequest(@Field("dev") String dev, @Field("id") String id, @Field("mac") String mac, @Field("sign") String sign);

    @POST("sport/course-desc")
    @FormUrlEncoded
    Call<SprotCourseDescribeModule> sportCourseInfoDescribeRequest(@Field("dev") String dev, @Field("id") String id, @Field("mac") String mac, @Field("sign") String sign);

    //    @POST("sport/course-desc")
//    @FormUrlEncoded
//    Call<SprotCourseDescribeModule> sportCourseDownloadRequest(@Field("dev") String dev, @Field("uid") String uid, @Field("id") String id, @Field("mac") String mac, @Field("sign") String sign);
//
    @POST("sport/sport-over")
    @FormUrlEncoded
    Call<SprotOverModule> sportOver(@Field("dev") String dev, @Field("uid") String uid, @Field("id") String id, @Field("time") String time, @Field("mac") String mac, @Field("sign") String sign);

    @POST("acupoint/jlpic")
    @FormUrlEncoded
    Call<AcupressureJlpicModule> acupressureList(@Field("dev") String dev, @Field("mac") String mac, @Field("sign") String sign);

    @POST("acupoint/jldetail")
    @FormUrlEncoded
    Call<AcupressureJlpicInfoModule> acupressureInfo(@Field("dev") String dev, @Field("mac") String mac, @Field("sign") String sign, @Field("id") String id);

    @POST("acupoint/jztzjl")
    @FormUrlEncoded
    Call<AcupressureJztzjlModule> acupressureJztzjl(@Field("dev") String dev, @Field("mac") String mac, @Field("sign") String sign);

    @POST("acupoint/jztzjldetail")
    @FormUrlEncoded
    Call<AcupressureJztzjldetailModule> acupressureJztzjletail(@Field("dev") String dev, @Field("mac") String mac, @Field("sign") String sign, @Field("id") String id);

    @POST("acupoint/news")
    @FormUrlEncoded
    Call<AcupressureAcupointModule> AcupressureAcupoint(@Field("dev") String dev, @Field("mac") String mac, @Field("sign") String sign, @Field("id") String id);

    //    @POST("acupoint/change-phone")
//    @FormUrlEncoded
//    Call<ChangePhoneFirModule> ChangePhoneNumFirStep(@Field("dev") String dev, @Field("mac") String mac, @Field("uid") String uid, @Field("code") String code, @Field("phone") String phone, @Field("sign") String sign);
//
//    @POST("acupoint/change-phone2")
//    @FormUrlEncoded
//    Call<ChangePhoneSecModule> ChangePhoneNumSecStep(@Field("dev") String dev, @Field("mac") String mac, @Field("uid") String uid, @Field("code") String code, @Field("phone") String phone, @Field("changephonetoken") String changephonetoken, @Field("sign") String sign);
//
    @POST("xfnl")
    @FormUrlEncoded
    Call<HeartScreenModule> RequestHeartScreen(@Field("dev") String dev, @Field("weight") String weight, @Field("heart") String heart, @Field("age") String age, @Field("uid") String uid, @Field("type") String type, @Field("sex") String sex, @Field("time") String time, @Field("mac") String mac, @Field("sign") String sign);

    @POST("xfnl")
    @FormUrlEncoded
    Call<HeartScreenModule> RequestHeartScreen(@Field("dev") String dev, @Field("weight") String weight, @Field("heart") String heart, @Field("age") String age, @Field("type") String type, @Field("sex") String sex, @Field("time") String time, @Field("mac") String mac, @Field("sign") String sign);

    //    @POST("shop")
//    @FormUrlEncoded
//    Call<MarketListInfo> RequestMarketInfo(@Field("dev") String dev, @Field("mac") String mac, @Field("sign") String sign);
//
    @POST("site/sendsms")
    @FormUrlEncoded
    Call<SendSms> SendSms(@Field("phone") String phone, @Field("mac") String mac, @Field("type") String type, @Field("dev") String dev, @Field("sign") String sign);

    @POST("sport/my-plan")
    @FormUrlEncoded
    Call<SportMyPlanModule> requestMyPlan(@Field("dev") String dev, @Field("mac") String mac, @Field("uid") String uid, @Field("sign") String sign);

    @POST("investigation/get-jztz")
    @FormUrlEncoded
    Call<JztzModule> requestJztz(@Field("dev") String dev, @Field("mac") String mac, @Field("uid") String uid, @Field("sign") String sign);

    //
//    @POST("apk_check")
//    @FormUrlEncoded
//    Call<UpdateModule> checkUpdate(@Field("dev") String dev, @Field("version") String version, @Field("mac") String mac, @Field("sign") String sign);
//
    @POST("ucenter")
    @FormUrlEncoded
    Call<UcenterModule> ucenter(@Field("dev") String dev, @Field("mac") String mac, @Field("uid") String uid, @Field("charname") String charname, @Field("value") String value, @Field("sign") String sign);

    @POST("investigation/get-health")
    @FormUrlEncoded
    Call<GetHealthModule> getHealth(@Field("uid") String uid, @Field("dev") String dev, @Field("mac") String mac, @Field("sign") String sign);

    @POST("investigation/get-physical")
    @FormUrlEncoded
    Call<GetPhysical> getPhysical(@Field("uid") String uid, @Field("dev") String dev, @Field("mac") String mac, @Field("sign") String sign);

    //    @POST("ad/index")
//    @FormUrlEncoded
//    Call<HomeAdModule> homeAd(@Field("dev") String dev, @Field("mac") String mac, @Field("sign") String sign);
//
    @POST("ad/sport")
    @FormUrlEncoded
    Call<HomeAdModule> sportAd(@Field("dev") String dev, @Field("mac") String mac, @Field("sign") String sign);

    @POST("change-phone")
    @FormUrlEncoded
    Call<ChangePhoneFirModule> changePhoneNumFirStep(@Field("dev") String dev, @Field("mac") String mac, @Field("uid") String uid, @Field("password") String password, @Field("phone") String phone, @Field("sign") String sign);

    @POST("change-phone2")
    @FormUrlEncoded
    Call<ChangePhoneSecModule> changePhoneNumSecStep(@Field("dev") String dev, @Field("mac") String mac, @Field("uid") String uid, @Field("code") String code, @Field("phone") String phone, @Field("changephonetoken") String changephonetoken, @Field("sign") String sign);

    @POST("hra/date")
    @FormUrlEncoded
    Call<HraDate> hraDate(@Field("dev") String deviceId, @Field("mac") String macAddress, @Field("uid") String uid, @Field("sign") String cKey);

    //
//    @POST("hra/jg1")
//    @FormUrlEncoded
//    Call<HraJg1> hraDataOne(@Field("dev") String deviceId, @Field("mac") String macAddress, @Field("uid") String uid, @Field("date") String date, @Field("sign") String cKey);
//
//    @POST("hra/jg3")
//    @FormUrlEncoded
//    Call<HraJg2> hraDataTwo(@Field("dev") String deviceId, @Field("mac") String macAddress, @Field("uid") String uid, @Field("date") String date, @Field("sign") String cKey);
//
//    @POST("hra/jg2")
//    @FormUrlEncoded
//    Call<HraJg3> hraDataThi(@Field("dev") String deviceId, @Field("mac") String macAddress, @Field("uid") String uid, @Field("date") String date, @Field("sign") String cKey);
//
//    @POST("hra/jg4")
//    @FormUrlEncoded
//    Call<HraJg4> hraDataFor(@Field("dev") String deviceId, @Field("mac") String macAddress, @Field("uid") String uid, @Field("date") String date, @Field("sign") String cKey);
//
    @POST("xfnl/list")
    @FormUrlEncoded
    Call<HeartData> getHeartData(@Field("uid") String uid, @Field("dev") String dev, @Field("mac") String mac, @Field("sign") String cKey);

    @POST("xfnl/one")
    @FormUrlEncoded
    Call<HeartDetailData> getHeartDetailData(@Field("uid") String uid, @Field("dev") String dev, @Field("date") String date, @Field("mac") String mac, @Field("sign") String cKey);

    //    @POST("found")
//    @FormUrlEncoded
//    Call<FoundModel> found(@Field("dev") String dev, @Field("mac") String mac, @Field("sign") String cKey);
//
//    @POST("found/list")
//    @FormUrlEncoded
//    Call<FoundListModel> foundList(@Field("id") String id, @Field("dev") String dev, @Field("mac") String mac, @Field("sign") String cKey);
//
//    @POST("old-msg")
//    @FormUrlEncoded
//    Call<OldmsgModel> oldmsg(@Field("dev") String dev, @Field("mac") String mac, @Field("page") String page, @Field("cuid") String cuid, @Field("uid") String uid, @Field("sign") String cKey);
//
//    @POST("old-msg")
//    @FormUrlEncoded
//    Call<OldmsgModel> oldmsg(@Field("dev") String dev, @Field("mac") String mac, @Field("page") String page, @Field("cuid") String cuid, @Field("sign") String cKey);
//
//    @POST("old-msg")
//    @FormUrlEncoded
//    Call<OldmsgModel> oldmsgRecent(@Field("dev") String dev, @Field("mac") String mac, @Field("cuid") String cuid, @Field("uid") String uid, @Field("sign") String cKey);
//
//    @POST("old-msg")
//    @FormUrlEncoded
//    Call<OldmsgModel> oldmsgRecent(@Field("dev") String dev, @Field("mac") String mac, @Field("cuid") String cuid, @Field("sign") String cKey);
//
//    @POST("shop/index-page")
//    @FormUrlEncoded
//    Call<HomeCommodities> getMarketCommodities(@Field("dev") String deviceId, @Field("mac") String macAddress, @Field("sign") String cKey);
//
//    @POST("shop/goods-detail")
//    @FormUrlEncoded
//    Call<CommodityInfo> getCommoditiesInfo(@Field("dev") String deviceId, @Field("mac") String macAddress, @Field("id") String id, @Field("sign") String cKey);
//
//    @POST("shop/change-goods")
//    @FormUrlEncoded
//    Call<RefreshCommdity> refreshCommoditiesColorInfo(@Field("dev") String deviceId, @Field("id") String id, @Field("color") String color, @Field("mac") String macAddress, @Field("sign") String cKey);
//
//    @POST("shop/change-goods")
//    @FormUrlEncoded
//    Call<RefreshCommdity> refreshCommoditiesGuigeInfo(@Field("dev") String deviceId, @Field("id") String id, @Field("guige") String guige, @Field("mac") String macAddress, @Field("sign") String cKey);
//
//    @POST("shop/change-goods")
//    @FormUrlEncoded
//    Call<RefreshCommdity> refreshCommoditiesSizeInfo(@Field("dev") String deviceId, @Field("id") String id, @Field("size") String size, @Field("mac") String macAddress, @Field("sign") String cKey);
//
//    @POST("address/list")
//    @FormUrlEncoded
//    Call<AddressesList> getAddressesList(@Field("dev") String deviceId, @Field("uid") String id, @Field("mac") String macAddress, @Field("sign") String cKey);
//
//    @POST("address/add-address")
//    @FormUrlEncoded
//    Call<AddressesList> addAddress(@Field("dev") String deviceId, @Field("uid") String uid,
//                                   @Field("consignee") String consignee,
//                                   @Field("phone") String phone,
//                                   @Field("full_address") String full_address,
//                                   @Field("province") String province,
//                                   @Field("city") String city,
//                                   @Field("county") String county,
//                                   @Field("is_default") String is_default,
//                                   @Field("mac") String macAddress, @Field("sign") String cKey);
//
//    @POST("address/edit-address")
//    @FormUrlEncoded
//    Call<AddressesList> editAddress(@Field("dev") String deviceId, @Field("uid") String uid,
//                                    @Field("id") String id,
//                                    @Field("consignee") String consignee,
//                                    @Field("phone") String phone,
//                                    @Field("full_address") String full_address,
//                                    @Field("province") String province,
//                                    @Field("city") String city,
//                                    @Field("county") String county,
//                                    @Field("is_default") String is_default,
//                                    @Field("mac") String macAddress, @Field("sign") String cKey);
//
//    @POST("address/delete-address")
//    @FormUrlEncoded
//    Call<RemoveAddress> removeAddresses(@Field("dev") String deviceId, @Field("uid") String uid, @Field("id") String id, @Field("mac") String macAddress, @Field("sign") String cKey);
//
//    @POST("address/set-default")
//    @FormUrlEncoded
//    Call<SetDefaultAddress> setDefaultAddresses(@Field("dev") String deviceId, @Field("uid") String uid, @Field("id") String id, @Field("mac") String macAddress, @Field("sign") String cKey);
//
//    @POST("cart/list")
//    @FormUrlEncoded
//    Call<CartList> getCartList(@Field("dev") String deviceId, @Field("uid") String uid, @Field("mac") String macAddress, @Field("sign") String cKey);
//
//    @POST("cart/add")
//    @FormUrlEncoded
//    Call<CartList> addCart(@Field("dev") String deviceId, @Field("num") String num, @Field("gid") String gid, @Field("uid") String uid, @Field("mac") String macAddress, @Field("sign") String cKey);
//
//    @POST("cart/edit")
//    @FormUrlEncoded
//    Call<CartList> subCart(@Field("dev") String deviceId, @Field("num") String num, @Field("gid") String gid, @Field("uid") String uid, @Field("mac") String macAddress, @Field("sign") String cKey);
//
//    @POST("cart/delete")
//    @FormUrlEncoded
//    Call<CartList> deleCart(@Field("dev") String deviceId, @Field("gid") String gid, @Field("uid") String uid, @Field("mac") String macAddress, @Field("sign") String cKey);
//
//    @POST("cart/delete-all")
//    @FormUrlEncoded
//    Call<CartList> clearCart(@Field("dev") String deviceId, @Field("uid") String uid, @Field("mac") String macAddress, @Field("sign") String cKey);
//
//    @POST("order/create")
//    @FormUrlEncoded
//    Call<CreatOrder> creatOrder(@Field("dev") String deviceId, @Field("uid") String uid, @Field("gid") String gid, @Field("num") String num, @Field("mac") String macAddress, @Field("sign") String cKey);
//
//    @POST("order/add")
//    @FormUrlEncoded
//    Call<AddOrder> addOrder(@Field("dev") String deviceId, @Field("uid") String uid, @Field("gid") String gid, @Field("num") String num, @Field("address_id") String address_id, @Field("desc") String desc, @Field("kuaidi") String kuaidi, @Field("yhxx") String yhxx, @Field("mac") String macAddress, @Field("sign") String cKey);
//
//    @POST("order/list")
//    @FormUrlEncoded
//    Call<OrderList> getOrderList(@Field("dev") String deviceId, @Field("uid") String uid, @Field("mac") String macAddress, @Field("sign") String cKey);
//
//    @POST("shop/type-list")
//    @FormUrlEncoded
//    Call<GoodsList> getGoodList(@Field("dev") String deviceId, @Field("mac") String macAddress, @Field("sign") String cKey);
//
//    @POST("shop/type-list")
//    @FormUrlEncoded
//    Call<GoodsList> getGoodList(@Field("dev") String deviceId, @Field("mac") String macAddress, @Field("type") String type, @Field("sign") String cKey);
//
//    @POST("pay/ali-pay")
//    @FormUrlEncoded
//    Call<AliPayResponse> aliPay(@Field("dev") String deviceId, @Field("uid") String uid, @Field("mac") String macAddress, @Field("order_no") String order_no, @Field("sign") String cKey);
//
//    @POST("pay/wx-pay")
//    @FormUrlEncoded
//    Call<WxPayResponse> wxPay(@Field("dev") String deviceId, @Field("uid") String uid, @Field("mac") String macAddress, @Field("order_no") String order_no, @Field("sign") String cKey);
//
//    @POST("order/delete")
//    @FormUrlEncoded
//    Call<OrderDel> delOrder(@Field("dev") String deviceId, @Field("uid") String uid, @Field("mac") String macAddress, @Field("order_no") String order_no, @Field("sign") String cKey);
//
    @POST("appointment/index")
    @FormUrlEncoded
    Call<SubscribeIndex> appointmentIndex(@Field("dev") String deviceId, @Field("lat") String lat, @Field("lng") String lng, @Field("mac") String macAddress, @Field("sign") String cKey);

    @POST("appointment/get-list-by-address")
    @FormUrlEncoded
    Call<SubscribeIndex> appointmentIndex(@Field("dev") String deviceId, @Field("address") String address, @Field("province") String province, @Field("city") String city, @Field("mac") String macAddress, @Field("sign") String cKey);

    @POST("appointment/submit")
    @FormUrlEncoded
    Call<SubscribeCommitResponse> appointmentSubmit(@Field("p_id") String p_id, @Field("s_id") String s_id, @Field("uid") String uid, @Field("date") String date, @Field("desc") String desc, @Field("phone") String phone, @Field("name") String name, @Field("time") String time, @Field("card") String card, @Field("dev") String deviceId, @Field("mac") String macAddress, @Field("sign") String cKey);

    @POST("appointment/submit")
    @FormUrlEncoded
    Call<SubscribeCommitResponse> appointmentSubmit(@Field("p_id") String p_id, @Field("s_id") String s_id, @Field("uid") String uid, @Field("date") String date, @Field("desc") String desc, @Field("phone") String phone, @Field("name") String name, @Field("time") String time, @Field("card") String card, @Field("dev") String deviceId, @Field("mac") String macAddress, @Field("sign") String cKey, @Field("aid") String aid);

    @POST("appointment/list")
    @FormUrlEncoded
    Call<SubscribeList> appointmentList(@Field("uid") String uid, @Field("dev") String deviceId, @Field("mac") String macAddress, @Field("sign") String cKey);

    @POST("appointment/remove")
    @FormUrlEncoded
    Call<CommonRespone> cancelAppoint(@Field("uid") String uid, @Field("aid") String vid, @Field("dev") String deviceId, @Field("mac") String macAddress, @Field("sign") String cKey);

    @POST("appointment/remove")
    @FormUrlEncoded
    Call<CommonRespone> cancelAppoint(@Field("uid") String uid, @Field("desc") String desc, @Field("aid") String vid, @Field("dev") String deviceId, @Field("mac") String macAddress, @Field("sign") String cKey);

    @POST("appointment/address-add")
    @FormUrlEncoded
    Call<CommonRespone> addSubscribeAddress(@Field("uid") String uid, @Field("address") String address, @Field("province") String province, @Field("city") String city, @Field("dev") String deviceId, @Field("mac") String macAddress, @Field("sign") String cKey);

    @POST("appointment/address-list")
    @FormUrlEncoded
    Call<SubscrbeAddList> getSubscribeList(@Field("uid") String uid, @Field("dev") String deviceId, @Field("mac") String macAddress, @Field("sign") String cKey);

    //
    @POST("appointment/get-time")
    @FormUrlEncoded
    Call<SubscribeTimeList> getSubscribeTimeList(@Field("p_id") String pid, @Field("s_id") String sid, @Field("date") String date, @Field("dev") String deviceId, @Field("mac") String macAddress, @Field("sign") String cKey);

    @POST("appointment/address-remove")
    @FormUrlEncoded
    Call<CommonRespone> removeSubscribeAdd(@Field("uid") String uid, @Field("aid") String aid, @Field("dev") String deviceId, @Field("mac") String macAddress, @Field("sign") String cKey);

    //    @POST("site/get-sex")
//    @FormUrlEncoded
//    Call<GetSex> getSex(@Field("uid") String uid, @Field("dev") String device, @Field("sign") String cKey);
//
    @POST("hra-new/list")
    @FormUrlEncoded
    Call<HraDateRes> getHraDate(@Field("dev") String deviceId, @Field("mac") String macAddress, @Field("uid") String uid, @Field("sign") String cKey);

    //    @POST("hra-new/detail")
    @POST("hra-new/detail-new")
    @FormUrlEncoded
    Call<HraDataRes> getHraData(@Field("dev") String deviceId, @Field("mac") String macAddress, @Field("uid") String uid, @Field("id") String id, @Field("sign") String cKey);

    //    @POST("push-msg")
//    @FormUrlEncoded
//    Call<PushMsgModule> getPushMsg(@Field("uid") String uid, @Field("dev") String deviceId, @Field("mac") String macAddress, @Field("sign") String cKey);
//
//    @POST("push-msg/read")
//    @FormUrlEncoded
//    Call<PushMsgModule> readOneMsg(@Field("id") String id, @Field("uid") String uid, @Field("dev") String deviceId, @Field("mac") String macAddress, @Field("sign") String cKey);
//
    @POST("appointment/list-one")
    @FormUrlEncoded
    Call<HomeMsgSubscribeInfoModel> getOneSubscribeInfo(@Field("id") String id, @Field("uid") String uid, @Field("dev") String deviceId, @Field("mac") String macAddress, @Field("sign") String cKey);

    //报告-饮食建议
    @POST("hra-new/get-desc")
    @FormUrlEncoded
    Call<SuggFoodRes> getFoodSuggest(@Field("id") String id, @Field("uid") String uid, @Field("dev") String deviceId, @Field("mac") String macAddress, @Field("sign") String cKey);

    //报告-九大系统状态指标
    @POST("hra-new/body-desc")
    @FormUrlEncoded
    Call<PhysDescRes> getIndexDesc(@Field("id") String id, @Field("dev") String deviceId, @Field("mac") String macAddress, @Field("sign") String cKey);

    @POST("hra-new/report-str-desc")
    @FormUrlEncoded
    Call<PhisStatDescResp> getPhisStateDesc(@Field("str") String desc, @Field("dev") String deviceId, @Field("mac") String macAddress, @Field("sign") String cKey);

    @POST("hra-new/nhj-name")
    @FormUrlEncoded
    Call<EnviDescResp> getEnvirStateDesc(@Field("id") String id, @Field("dev") String deviceId, @Field("mac") String macAddress, @Field("sign") String cKey);

    @POST("hra-new/get-sport")
    @FormUrlEncoded
    Call<SportSuggListResp> getSportSuggList(@Field("uid") String uid, @Field("id") String id, @Field("dev") String deviceId, @Field("mac") String macAddress, @Field("sign") String cKey);

    @POST("hra-new/get-video")
    @FormUrlEncoded
    Call<SportSuggVideoResp> getSportSuggVideo(@Field("id") String id, @Field("dev") String deviceId, @Field("mac") String macAddress, @Field("sign") String cKey);


    /*
      以下新接口的
     */
    @POST("index/top-case")
    @FormUrlEncoded
    Call<TopCase> getTopCase(@Field("dev") String deviceId, @Field("mac") String macAddress, @Field("sign") String cKey);


    @POST("bracelet/link-list")
    @FormUrlEncoded
    Call<WristBandSettingModule> updataWristBandSetting(@Field("uid") String uid, @Field("dev") String deviceId, @Field("mac") String macAddress, @Field("sign") String cKey);

    @POST("bracelet/api")
    @FormUrlEncoded
    Call<BaseResp> postSleepData(@Field("uid") String uid, @Field("data") String data, @Field("dev") String deviceId, @Field("mac") String macAddress, @Field("sign") String cKey);

    @POST("walk-log/day")
    @FormUrlEncoded
    Call<StepsDayBean> getwalkLogDay(@Field("uid") String id, @Field("dev") String deviceId, @Field("mac") String macAddress, @Field("sign") String cKey, @Field("date") String cdate);

    @POST("walk-log/week")
    @FormUrlEncoded
    Call<StepsWeekBean> getwalkLogWeek(@Field("uid") String id, @Field("dev") String deviceId, @Field("mac") String macAddress, @Field("sign") String cKey, @Field("date") String cdate);

    @POST("walk-log/month")
    @FormUrlEncoded
    Call<StepsMonthBean> getwalkLogMonth(@Field("uid") String id, @Field("dev") String deviceId, @Field("mac") String macAddress, @Field("sign") String cKey, @Field("date") String cdate);

    @POST("walk-log/year")
    @FormUrlEncoded
    Call<StepsYearBean> getwalkLogYear(@Field("uid") String id, @Field("dev") String deviceId, @Field("mac") String macAddress, @Field("sign") String cKey, @Field("date") String cdate);

    @POST("bracelet/list")
    @FormUrlEncoded
    Call<BaseResp> postWristBandInfo(@Field("manufacturer") String manufacturer, @Field("model") String model,
                                     @Field("serial") String serial, @Field("hardware") String hardware, @Field("software") String software,
                                     @Field("uid") String uid, @Field("dev") String deviceId, @Field("mac") String macAddress, @Field("sign") String cKey);

    @POST("bracelet/index")
    @FormUrlEncoded
    Call<BaseResp> postSleepAndStepData(@Field("uid") String uid, @Field("data") String data, @Field("dev") String deviceId, @Field("mac") String macAddress, @Field("sign") String cKey);

    @POST("bracelet/timing")
    @FormUrlEncoded
    Call<BaseResp> postBloodAndHeartData(@Field("uid") String uid, @Field("data") String data, @Field("dev") String deviceId, @Field("mac") String macAddress, @Field("sign") String cKey);

    @POST("user/hra-current")
    @FormUrlEncoded
    Call<ThraPreviewModule> thraPreview(@Field("uid") String uid, @Field("dev") String deviceId, @Field("mac") String macAddress, @Field("sign") String cKey);

    @POST("blood-log/day")
    @FormUrlEncoded
    Call<BloodDayBean> getBloodLogDay(@Field("uid") String id, @Field("dev") String deviceId, @Field("mac") String macAddress, @Field("sign") String cKey, @Field("date") String cdate);

    @POST("blood-log/week")
    @FormUrlEncoded
    Call<BloodWeekBean> getBloodLogWeek(@Field("uid") String id, @Field("dev") String deviceId, @Field("mac") String macAddress, @Field("sign") String cKey, @Field("date") String cdate);

    @POST("blood-log/month")
    @FormUrlEncoded
    Call<BloodMonthBean> getBloodLogMonth(@Field("uid") String id, @Field("dev") String deviceId, @Field("mac") String macAddress, @Field("sign") String cKey, @Field("date") String cdate);

    @POST("blood-log/year")
    @FormUrlEncoded
    Call<BloodYearBean> getBloodLogYear(@Field("uid") String id, @Field("dev") String deviceId, @Field("mac") String macAddress, @Field("sign") String cKey, @Field("date") String cdate);


    @POST("heart-log/day")
    @FormUrlEncoded
    Call<RateDayBean> getRateLogDay(@Field("uid") String id, @Field("dev") String deviceId, @Field("mac") String macAddress, @Field("sign") String cKey, @Field("date") String cdate);
    @POST("heart-log/week")
    @FormUrlEncoded
    Call<RateWeekBean> getRateLogWeek(@Field("uid") String id, @Field("dev") String deviceId, @Field("mac") String macAddress, @Field("sign") String cKey, @Field("date") String cdate);
    @POST("heart-log/month")
    @FormUrlEncoded
    Call<RateMonthBean> getRateLogMonth(@Field("uid") String id, @Field("dev") String deviceId, @Field("mac") String macAddress, @Field("sign") String cKey, @Field("date") String cdate);
    @POST("heart-log/year")
    @FormUrlEncoded
    Call<RateYearBean> getRateLogYear(@Field("uid") String id, @Field("dev") String deviceId, @Field("mac") String macAddress, @Field("sign") String cKey, @Field("date") String cdate);


    @POST("bracelet/set-goal")
    @FormUrlEncoded
    Call<BaseResp> setWalkGoal(@Field("goal") String goal, @Field("uid") String uid, @Field("mac") String macAddress, @Field("dev") String deviceId, @Field("sign") String cKey);

}
